package steveshrader.budget.client;

import java.util.Date;
import java.util.List;

import steveshrader.budget.client.dto.Expense;
import steveshrader.budget.client.dto.Vendor;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("budgeting")
public interface BudgetService extends RemoteService {
        String addExpense(Expense expense);
        String addExpenses(List<Expense> expenses);
        String deleteExpense(Long expenseId);
        List<Vendor> getVendors();
        List<Expense> getExpenses(Date startDate, Date endDate, String vendor);
}